package com.moneywelcome;

import com.moneywelcome.exceptions.BaseException;
import com.moneywelcome.exceptions.MwcArgsException;
import com.moneywelcome.results.Result;
import com.moneywelcome.results.StatusCode;

public class test {
    public static void main(String[] args) {
        BaseException e= new MwcArgsException("错误", StatusCode.Error);
        System.out.println(e.getCode());
        System.out.println(e.getMessage());
        System.out.println(Result.fail(e.getCode(), e.getMessage()));
    }
}
